home *** CD-ROM | disk | FTP | other *** search
-
- Aminet2Guide - Converts file containing Aminet RECENT or INDEX listing
- into AmigaGuide format; AmigaGuide can then be used for
- retrieving files from Aminet via Term
-
-
- Copyright ©1994 by Timothy B. Kreuzer. All rights reserved.
-
- Version: 1.0a
-
- Author: Tim Kreuzer
-
- Language: SAS/C V6.5
-
-
- Description
- -----------
- "Aminet2Guide" is a CLI-only command which accepts a file containing
- a RECENT or INDEX listing obtained from Aminet, and converts it into
- an AmigaGuide database file. The AmigaGuide database file can then
- be used in combination with the Term telecommunications program in
- order to either download binary files or view the ".readme" files by
- simply selecting a button containing the file's name.
-
-
- Version Information
- -------------------
- Version 1.0a : Adjustments to the expected location/size of the various
- fields within the Aminet RECENT/INDEX listings, due to
- a recent (unexpected) change in the listings themselves
-
- Version 1.0 : Initial release
-
-
- Usage
- -----
- Aminet2Guide [path]infile [path]outfile
-
- where: [path]infile = File containing Aminet RECENT or INDEX listing
-
- [path]outfile = Generated AmigaGuide file, ready for usage with
- the Term telecommunications program
-
-
- Installation
- ------------
- Copy the Aminet2Guide file into your "C:" directory.
-
-
- Limitations
- -----------
- 1) Usage of the "Aminet2Guide" AmigaGuide database requires the following:
-
- - The Term telecommunications program
- - The AmigaGuide program or MultiView (with the AmigaGuide datatype)
- - ARexx
-
- 2) The "Aminet2Guide" AmigaGuide database has only been tested/used
- accessing the Aminet via the Delphi on-line service. I am far to
- ignorant of any "standard" approach to Internet access to assume that
- the database will work for ANY carrier. My hope is that it will.
-
- 3) The "Aminet2Guide" program assumes that the following text strings
- are present in the input file (in order to determine where the file
- names begin):
-
- RECENT listings/files >> must << contain "Recent uploads to"
-
- INDEX listings/files >> must << contain "Contents of the"
-
- Note that (as of this writing) any full RECENT or INDEX listing from
- Aminet will contain these strings in the header.
-
- 4) The file directory information is not included in the output AmigaGuide
- database, in order to fit all the information for a single file onto
- an 80 character line
-
-
- Example
- -------
- 1) Using Term, access the Aminet via your preferred carrier.
-
- 2) Make sure the Term buffer is in "Recording" mode (i.e., you have
- not selected "Freeze buffer" from Term's "Buffer" menu).
-
- 3) Issue the command(s) to display a listing of either an Aminet RECENT
- or INDEX file.
-
- Assume for this example you have displayed an Aminet RECENT listing
- by typing the commands:
-
- ascii <return> and
- get "RECENT" TT <return>
-
- while at the main Aminet directory level.
-
- 4) Save the Term buffer (containing the Aminet RECENT or INDEX listing)
- to disk using the "Save Buffer as..." option of the "Buffer" menu.
-
- Assume for this example you have saved the buffer containing the
- INDEX listing to "RAM:Aminet_RECENT".
-
- 5) Switch back to the Workbench screen. From a shell, issue the following
- command:
-
- Aminet2Guide RAM:Aminet_RECENT RAM:Aminet_RECENT.guide
-
- 6) When you are returned to the shell prompt, you will now have a file
- called Aminet_RECENT.guide on your RAM: disk.
-
- 7) Switch back the Term screen. Select the "Screen..." option from the
- "Settings" menu. This will cause the "Screen Settings" window to open.
-
- 8) Select the "Shanghai windows" option on the "Screen Settings" window,
- then select "Use".
-
- 9) Switch back the Workbench screen. Make sure the ARexx is active
- (issue the "RexxMast" command if you want to be certain).
-
- 10) Issue the following command from the shell:
-
- AmigaGuide RAM:Aminet_RECENT.guide or perhaps
-
- MultiView RAM:Aminet_RECENT.guide
-
- This should cause a AmigaGuide window, containing the contents of
- the converted Aminet RECENT listing to be displayed on the Term
- screen.
-
- 11) Switch back to the Term screen (if you aren't already there).
-
- MAKE SURE you're at the Aminet directory level corresponding with
- where you obtained the converted RECENT or INDEX listing.
-
- If you've just gotten the listing, you're already there.
-
- 12) Resize the AmigaGuide window so you can see the bottom of the Term
- screen.
-
- Note that this is NOT required, but I sure like to see what's going
- on!
-
- 13) You're now set to retrieve files and/or read ".readme" files simply
- by pushing a button!
-
- By selecting the button with a filename on it, the AmigaGuide
- database will issue (to Term) a "binary" command, followed by
- a "get <filename>".
-
- By selecting the "+" button next to a filename, the AmigaGuide
- database will issue (to Term) an "ascii" command, followed by a
- "get <filename>.readme TT".
-
- The file's size and it's short description are listed next to the
- file's name in order to allow you to browse through the AmigaGuide
- window to see what file's you may be interested in.
-
- 14) When you're done downloading and/or reading "readme"'s, simply quit
- the AmigaGuide window.
-
- You may want to also set the Term screen back to having "Shanghai
- windows" turned off. This is purely optional.
-
- Of course, the above example assumes a number of things which you can
- make easier by setting things up in advance of your Aminet session, such
- as having ARexx active, having a shell open on the Workbench screen, and
- having the Term screen set to "Shanghai windows".
-
- Also, the above is not necessarily the ONLY way in which Aminet2Guide or
- it's output AmigaGuide database file could be used. It is, however,
- guaranteed (boy, that's a strong statement) to work this way.
-
-
- Feedback
- -------
- I'd be interesting in knowing if you find Aminet2Guide useful, or if you
- have any problems (or questions/suggestions).
-
- I can be reached via Internet at the following address:
-
- tkreuzer@delphi.com
-
-